package com.situ.study.day10;

import org.junit.Test;

public class Demo {

    @Test
    public void test1() {
        Student stu = new Student(1, "张三");
        stu.study();

        Student.print();
        //Static member 'com.situ.study.day10.Student.print()' accessed via instance reference
        stu.print();

        System.out.println(Student.country);
        System.out.println(stu.country);
    }
}
